/** 
 * 自定义页面跳转
 * */
 
 
 
 
 
 //  /** 
 //   * 页面跳转
 //   * */
 // // 页面跳转数组
 // function jumpToView(){
 // 	var menus = [
	// 	/** 
	// 	 * 层级1级
	// 	 * */
 // 		// 首页
 // 		{
	// 		// 页面索引
	// 		"menu":"m1", 
	// 		// 主页层级1级,子页面层级2级或以上
	// 		"level":"1", 
	// 		// 链接名称
 // 			"title":"首页", 
	// 		// 链接图标
 // 			"icon":"home", 
	// 		// 链接地址
 // 			"url":"/index.html" 
 // 		},
 // 		// 库视频
 // 		{
	// 		"menu":"m2", 
	// 		"level":"1", 
 // 			"title":"库",
 // 			"icon":"download",
 // 			"url":"/views/market.html"
 // 		},
 // 		// 奖励
 // 		{
	// 		"menu":"m3", 
	// 		"level":"1", 
 // 			"title":"奖励",
 // 			"icon":"spinner-cycle",
 // 			"url":"/views/reward.html"
 // 		},
 // 		// // 消息
 // 		// {
 // 		// 	"menu":"?", 
	// 	//	"level":"1", 
 // 		// 	"title":"消息",
 // 		// 	"icon":"chatbubble",
 // 		// 	"url":"/views/chat.html"
 // 		// },
 // 		// // 拍
 // 		// {
 // 		// 	"menu":"?", 
	// 	//	"level":"1", 
 // 		// 	"title":"拍",
 // 		// 	"icon":"camera",
 // 		// 	"url":"/views/camera.html"
 // 		// },
 // 		// 我的
 // 		{
	// 		"menu":"m4", 
	// 		"level":"1", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my.html"
 // 		},
	// 	/** 
	// 	 * 首页子页面
	// 	 * */
 // 		{ 
	// 		"menu":"m5", 
	// 		"level":"2", 
 // 			"title":"足迹",
 // 			"icon":"home",
 // 			"url":"/views/index/ihistory.html"
 // 		},
 // 		{
	// 		"menu":"m6", 
	// 		"level":"2", 
 // 			"title":"单个",
 // 			"icon":"home",
 // 			"url":"/views/index/ione.html"
 // 		},
	// 	/** 
	// 	 * 库子页面
	// 	 * */
 // 		{
	// 		"menu":"m7", 
	// 		"level":"2", 
 // 			"title":"足迹",
 // 			"icon":"download",
 // 			"url":"/views/market/mhistory.html"
 // 		},
 // 		{
	// 		"menu":"m8", 
	// 		"level":"2", 
 // 			"title":"单个",
 // 			"icon":"download",
 // 			"url":"/views/market/mone.html"
 // 		},
	// 	/** 
	// 	 * 我的子页面
	// 	 * */
	// 	 // 点赞
 // 		{
	// 		"menu":"m9", 
	// 		"level":"2", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/zans/zlist.html"
 // 		},
 // 		{
	// 		"menu":"m10", 
	// 		"level":"2", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/zans/zonei.html"
 // 		},
 // 		{
	// 		"menu":"m11", 
	// 		"level":"2", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/zans/zonem.html"
 // 		},
	// 	// 收藏
 // 		{
	// 		"menu":"m12", 
	// 		"level":"2", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/collect/clist.html"
 // 		},
 // 		{
	// 		"menu":"m13", 
	// 		"level":"2", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/collect/conei.html"
 // 		},
 // 		{
	// 		"menu":"m14", 
	// 		"level":"2", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/collect/conem.html"
 // 		},
	// 	// 用户意见
 // 		{
	// 		"menu":"m15", 
	// 		"level":"2", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/opinion/list.html"
 // 		},
 // 		{
	// 		"menu":"m16", 
	// 		"level":"2", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/opinion/add.html"
 // 		},
	// 	// 设置
 // 		{
	// 		"menu":"m17", 
	// 		"level":"2", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/sets/account.html"
 // 		},
 // 		{
	// 		"menu":"m18", 
	// 		"level":"2", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/sets/cache.html"
 // 		},
 // 		{
	// 		"menu":"m19",  
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/sets/login.html"
 // 		},
 // 		{
	// 		"menu":"m20", 
	// 		"level":"2", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/sets/nick.html"
 // 		},
 // 		{
	// 		"menu":"m21", 
	// 		"level":"2", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/sets/pwd.html"
 // 		},
 // 		{
	// 		"menu":"m22", 
	// 		"level":"2", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/sets/regist.html"
 // 		},
	// 	// // 拍
 // 	 	//{
	// 	// 	"menu":"?", 
	// 	//	"level":"2", 
 // 	 	//	"title":"我的",
 // 	 	//	"icon":"contact",
 // 	 	//	"url":"/views/my/pubs/camera.html"
 // 	 	//},
	// 	// 订单
 // 		{
	// 		"menu":"m23", 
	// 		"level":"2", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/order/board/bone.html"
 // 		},
 // 		{
	// 		"menu":"m24", 
	// 		"level":"2", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/order/plus/plist.html"
 // 		},
 // 		{
	// 		"menu":"m25", 
	// 		"level":"2", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/order/plus/pone.html"
 // 		},
 // 		{
	// 		"menu":"m26", 
	// 		"level":"2", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/order/render/rlist.html"
 // 		},
 // 		{
	// 		"menu":"m27", 
	// 		"level":"2", 
 // 			"title":"我的",
 // 			"icon":"contact",
 // 			"url":"/views/my/order/render/rone.html"
 // 		},
	// 	/** 
	// 	 * 奖励
	// 	 * */
	// 	 // 签到
	// 	 {
	// 		"menu":"m28", 
	// 		"level":"2", 
 // 			"title":"奖励",
 // 			"icon":"spinner-cycle",
	// 	 	"url":"/views/my/reward/signs/slist.html"
	// 	 },
	// 	 {
	// 		"menu":"m29", 
	// 		"level":"2", 
 // 			"title":"奖励",
 // 			"icon":"spinner-cycle",
	// 	 	"url":"/views/my/reward/signs/sadd.html"
	// 	 },
	// 	/** 
	// 	 * 备用格式
	// 	 * */ 
 // 		{ //32
	// 		"menu":"?", 
	// 		"level":"2", 
 // 			"title":"",
 // 			"icon":"",
 // 			"url":""
 // 		}
 // 	];
 // 	var i, aClass, h = '';
 // 	for (i=0;i<menus.length;i++) {
	// 	var menu = menus[i].menu; 
	// 	var level = menus[i].level; 
	// 	var url = menus[i].url;
	// 	if (level==1) {
	// 		aClass = '';
	// 		h += '<a class="mui-tab-item'+aClass+'" onclick="mui.plusReady(function () { plus.webview.open('+url+'); });"';
	// 		h += '<span class="mui-icon mui-icon-'+menus[i].icon+'"></span>';
	// 		h += '<span class="mui-tab-label">'+menus[i].title+'</span>';
	// 		h += '</a>';
	// 	}
 // 	}
 // 	mui(".mui-bar-tab")[0].innerHTML = h;
 // }
 
 
 
 
 
 // 一级页面
 function jumpToIndex(){ //首页
 	mui.plusReady(function () {
 		plus.webview.open(prefixUrl+"/index.html");
 	});	
 }
 function jumpToMarket(){ //广场
 	var tourl = prefixUrl+"/views/market.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToReward(){ //奖励
 	mui.plusReady(function () {
 		plus.webview.open(prefixUrl+"/views/reward.html");
 	});	
 }
 function jumpToMy(){ //我的
 	mui.plusReady(function () {
 		plus.webview.open(prefixUrl+"/views/my.html");
 	});	
 }
 // 首页页面
 function jumpToIndexHistory(){ //首页历史
 	var tourl = prefixUrl+"/views/index/ihistory.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToIndexOne(vid){ //首页历史单个
 	var tourl = prefixUrl+"/views/index/ione.html?vid="+vid;
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 // 库页面
 function jumpToMarketHistory(){ //库历史
 	var tourl = prefixUrl+"/views/market/mhistory.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMarketOne(vid){ //首页历史单个
 	var tourl = prefixUrl+"/views/market/mone.html?vid="+vid;
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 // function jumpToCamera(){ //拍链接
 // 	var tourl = prefixUrl+"/views/my/pubs/camera.html";
 // 	mui.plusReady(function () {
 // 		plus.webview.open(tourl);
 // 	});	
 // }
 // 我的页面
 function jumpToMyset(){ //我的设置
 	var tourl = prefixUrl+"/views/my/myset.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyAccount(){ //我的账号信息
 	var tourl = prefixUrl+"/views/my/sets/account.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMysetCache(){ //我的设置缓存
 	var tourl = prefixUrl+"/views/my/sets/cache.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyZanList(){ //我的点赞列表
 	var tourl = prefixUrl+"/views/my/zans/zlist.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyZanOneIndex(vid){ //我的点赞首页单个
 	// vType:1首页2库
 	var param = '?vid='+vid;
 	var tourl = prefixUrl+"/views/my/zans/zonei.html"+param;
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyZanOneMarket(vid){ //我的点赞库单个
 	var param = '?vid='+vid;
 	var tourl = prefixUrl+"/views/my/zans/zonem.html"+param;
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyCollectList(){ //我的收藏列表
 	var tourl = prefixUrl+"/views/my/collect/clist.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyCollectOneIndex(vid){ //我的收藏首页单个
 	var param = '?vid='+vid;
 	var tourl = prefixUrl+"/views/my/collect/conei.html"+param;
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyCollectOneMarket(vid){ //我的收藏库单个
 	var param = '?vid='+vid;
 	var tourl = prefixUrl+"/views/my/collect/conem.html"+param;
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyPlusList(){ //我的创作列表
 	var tourl = prefixUrl+"/views/order/plus/plist.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyPlusOne(vid){ //我的创作单个
 	var tourl = prefixUrl+"/views/order/plus/pone.html?vid="+vid;
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyBoardOne(pid){ //我的创板单个
 	var tourl = prefixUrl+"/views/order/board/bone.html?pid="+pid;
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyRegist(){ //我的注册
 	var tourl = prefixUrl+"/views/my/sets/regist.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyLogin(){ //我的登陆
 	var tourl = prefixUrl+"/views/my/sets/login.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyNick(){ //我的用户名
 	var tourl = prefixUrl+"/views/my/sets/nick.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyPwd(){ //我的密码
 	var tourl = prefixUrl+"/views/my/sets/pwd.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyOpinionList(){ //我的建议列表
 	var tourl = prefixUrl+"/views/my/opinion/list.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyOpinionAdd(){ //我的建议表单
 	var tourl = prefixUrl+"/views/my/opinion/Add.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyHelp(){ //我的帮助
 	var tourl = prefixUrl+"/views/my/help.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyScan(){ //我的扫一扫
 	var tourl = prefixUrl+"/views/my/scan.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToMyScanWeb(link){ //我的扫一扫页面
 	var tourl = prefixUrl+"/views/my/scanWeb.html?url="+link;
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 // 奖励页面
 function jumpToRewardSignList(link){ //奖励签到列表
 	var tourl = prefixUrl+"/views/Reward/signs/slist.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToRewardSignAdd(link){ //奖励签到新增
 	var tourl = prefixUrl+"/views/Reward/signs/sadd.html";
 	mui.plusReady(function () {
 		plus.webview.open(tourl);
 	});	
 }
 function jumpToRewardShake(){ //摇一摇
 	mui.plusReady(function () {
 		plus.webview.open(prefixUrl+"/views/reward/shake/add.html");
 	});	
 }
 function jumpToRewardShakeList(){ //摇一摇列表
 	mui.plusReady(function () {
 		plus.webview.open(prefixUrl+"/views/reward/shake/list.html");
 	});	
 }
 function jumpToRewardScan(){ //扫一扫
 	mui.plusReady(function () {
 		plus.webview.open(prefixUrl+"/views/reward/scan/scan.html");
 	});	
 }
 function jumpToRewardScanList(){ //扫一扫列表
 	mui.plusReady(function () {
 		plus.webview.open(prefixUrl+"/views/reward/scan/list.html");
 	});	
 }
 function jumpToRewardScanQrCode(){ //扫一扫生成码
 	mui.plusReady(function () {
 		plus.webview.open(prefixUrl+"/views/reward/scan/qrcode.html");
 	});	
 }
 function jumpToRewardDraw(){ //刮奖
 	mui.plusReady(function () {
 		plus.webview.open(prefixUrl+"/views/reward/draw/draw.html");
 	});	
 }
 function jumpToRewardDrawList(){ //刮奖列表
 	mui.plusReady(function () {
 		plus.webview.open(prefixUrl+"/views/reward/draw/list.html");
 	});	
 }